package com.dsiab.manageService.service;

import com.dsiab.manageService.entity.CateDto;
import com.dsiab.manageService.entity.NavigationDto;

import java.util.List;
import java.util.Map;

public interface NavigationService {

  public List<Map> getAll();

  public NavigationDto getDetail(int  id);

  public void insertOne(NavigationDto navigationDto);

  public void delOne(int id);

  public void updateOne(NavigationDto navigationDto);

  public Map<String, Object> getCate(int pageNum,int pageSize);

  public void insertCate(CateDto cateDto);

  public void updateCate(CateDto cateDto);

  public void delCate(int id);
}
